package com.woniuxy.rms.service.impl;

import com.woniuxy.rms.service.UserService;
import com.woniuxy.rms.dao.UsersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Auther: ChenGang  <br/>
 * Date: 2020/4/2 0002:上午 11:24  <br/>
 * Description:用户服务层
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UsersMapper usersMapper;

    @Override
    public Integer findByToDay() {
        return usersMapper.findByToDay();
    }

    @Override
    public Integer findByYesterday() {
        return usersMapper.findByYesterday();
    }

    @Override
    public Integer findByWeek() {
        return usersMapper.findByWeek();
    }

    @Override
    public Integer findByMonth() {
        return usersMapper.findByMonth();
    }

    @Override
    public Long findAllCount() {
        return usersMapper.findByAllCount();
    }
}